﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>socket1</title>
<script src="js/swfobject.js" language="javascript"></script>
</head>
<body style="background-color:#cce8cf;">

<div id="test"><a href="http://get.adobe.com/flashplayer/" target="_blank">请下载最新的Adobe Flash Player!</a></div>
      <script language="javascript">
		var rand_date = new Date();
		var rand_time = rand_date.getTime();
		var f=new SWFObject("socket.swf?"+rand_time, "swfId", "550", "400", "10", "#fff",true);
		f.addParam('allowScriptAccess','always');
		f.addParam('allowFullScreen','true');
		f.addParam('wmode','Opaque');
		f.write("test");
	  </script>


<!-- for test -->
<script language="javascript">
function test(str)
{
	document.getElementById("testdiv").innerHTML+=str+"<br />------------------------------<br />"; 
}
function test1(str)
{
	document.getElementById("testdiv").innerHTML=str; 
}
function clearTest()
{
	document.getElementById("testdiv").innerHTML="";
}
</script>
<br /><br />
<input type="button" value="clear output" onclick="clearTest()" />
<br />
<div id="testdiv" style="margin:10px 0px 10px 0px; font-family:Arial, Helvetica, sans-serif;"></div>
<!-- //for test -->






</body>
</html>